package com.quanyue.music;

import com.quanyue.auto.cache.spring.EnableCache;
import com.quanyue.auto.fs.spring.EnableFs;
import com.quanyue.auto.miniapp.AutoConfigMiniApp;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.TimeZone;

@EnableCache
@EnableFs
@AutoConfigMiniApp
@EnableScheduling
@SpringBootApplication
@ComponentScan("com.quanyue")
public class BootApplication {

    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone("America/New_York"));
        SpringApplication.run(BootApplication.class);
    }

    @EnableAutoConfiguration
    public static class Configuration {
    }
}
